package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.AssessmentPerson;
import com.zhijian.medical.entity.vo.request.AssessmentPersonSearchVo;
import com.zhijian.medical.entity.vo.response.AssessmentPersonVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AssessmentPersonMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AssessmentPerson record);

    int insertSelective(AssessmentPerson record);

    AssessmentPerson selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AssessmentPerson record);

    int updateByPrimaryKey(AssessmentPerson record);

    int count(AssessmentPersonSearchVo assessmentPersonSearchVo);

    List<AssessmentPersonVo> selectList(AssessmentPersonSearchVo assessmentPersonSearchVo);

    AssessmentPersonVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<AssessmentPerson> entities);
}